package org.example.jdk8;

public class test2 {
    public static void main(String[] args) {
        testInterface test = () -> System.out.println("Hello World");
        test.test();
    }
}

@FunctionalInterface
interface testInterface {
    void test();
}
